/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package me.uniauto.zz.cwl.service.hjrk;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import me.uniauto.zz.cwl.entity.hjrk.CwlSyrkHjrk;
import me.uniauto.zz.cwl.dao.hjrk.CwlSyrkHjrkDao;

/**
 * 户籍人口Service
 * @author 王娜
 * @version 2019-02-18
 */
@Service
@Transactional(readOnly=true)
public class CwlSyrkHjrkService extends CrudService<CwlSyrkHjrkDao, CwlSyrkHjrk> {
	
	/**
	 * 获取单条数据
	 * @param cwlSyrkHjrk
	 * @return
	 */
	@Override
	public CwlSyrkHjrk get(CwlSyrkHjrk cwlSyrkHjrk) {
		return super.get(cwlSyrkHjrk);
	}
	
	/**
	 * 查询分页数据
	 * @param cwlSyrkHjrk 查询条件
	 * @param cwlSyrkHjrk.page 分页对象
	 * @return
	 */
	@Override
	public Page<CwlSyrkHjrk> findPage(CwlSyrkHjrk cwlSyrkHjrk) {
		return super.findPage(cwlSyrkHjrk);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param cwlSyrkHjrk
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(CwlSyrkHjrk cwlSyrkHjrk) {
		super.save(cwlSyrkHjrk);
	}
	
	/**
	 * 更新状态
	 * @param cwlSyrkHjrk
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(CwlSyrkHjrk cwlSyrkHjrk) {
		super.updateStatus(cwlSyrkHjrk);
	}
	
	/**
	 * 删除数据
	 * @param cwlSyrkHjrk
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(CwlSyrkHjrk cwlSyrkHjrk) {
		super.delete(cwlSyrkHjrk);
	}
	
}